
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
}

html {
    scroll-behavior: smooth;
}



body{
    background: url("https://4kwallpapers.com/images/wallpapers/3d-background-shapes-geometric-pattern-illustration-purple-2560x1080-4547.jpg");
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0 20px;
}


.form-container{
    display: flex;
    width: 1000px;
    height: 600px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    backdrop-filter: blur(20px);
   overflow: hidden;
}

.col-1{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 55%;
    background: rgba(255,255,255, 0.3);
    backdrop-filter: blur(30px);
    border-radius: 0 30% 20% 0;
    transition: border-radius .3s;   
}
.site-title {
    text-align: center;
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    margin-top: 10px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
    font-family: 'Poppins', sans-serif;
}

.image-layer{
    position: relative;
}
.form-image-main{
    width: 400px;
    animation: scale-up 3s ease-in-out alternate infinite;
}
.form-image{
    position: absolute;
    left: 0;
    width: 400px;
}

.logo {
    position: absolute;
    size: 50px;
    top: 25%;
    left: 8%;
    transform: translate(-10%, -10%);
    filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.5)); /* Shadow follows image edges */
}
.coin{
    animation: scale-down 3s ease-in-out alternate infinite;
}
.spring{
    animation: scale-down 3s ease-in-out alternate infinite;
}
.dots{
    animation: scale-down 3s ease-in-out alternate infinite;
} 

.rocket{
    animation: up-down 3s ease-in-out alternate infinite;
}
.logo{
    animation: up-down 3s ease-in-out alternate infinite;
}
.cloud{
    animation: left-right 3s ease-in-out alternate infinite;
}
.stars{
    animation: scale-down 3s ease-in-out alternate infinite;
}

@keyframes left-right {
    to{
        transform: translateX(10px);
    }
} 
@keyframes up-down {
    to{
        transform: translateY(10px);
    }
} 
@keyframes scale-down{
    to{
        transform: scale(0.95);
    }
} 
@keyframes scale-up{
    to{
        transform: scale(1.05);
    }
} 

.featured-words{
    text-align: center;
    color: #fff;
    width: 300px;
}

.featured-words span{
    font-weight: 600;
    color: #21264D;
}

.col-2{
    position: relative;
    width:  45%;
    padding: 20px;
    overflow: hidden;
}

.btn-box{
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}
.btn{
    font-weight: 700;
    padding: 5px 60px;
    border: none;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: .2s;
}
.btn-1{
    background: #21264D;
}
.btn:hover{
    opacity: 0.85;
}
.login-form{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 4vw;
    transition: .3s;
}
.register-form{
    position: absolute;
    left: -50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 4vw;
    transition: .3s;
}
.register-form.form-title{
    margin-block: 40px 20px;
}
.form-title{
    margin: 40px 0;
    color: #fff;
    font-size: 28px;
    font-weight: 600;
}
.form-inputs{
    width: 100%;
}
.input-box{
    position: relative;
}
.input-field{
    width: 100%;
    height: 55px;
    padding: 0 28px;
    margin: 10px 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 10px;
    outline: none;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);

}
::placeholder{
    columns: #fff;
    font-size: 15px;
}
.input-box .icon{
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    color: #fff;
}
.forgot-pass {
    display: flex;
    justify-content: right;
    gap: 5px;
}
.forgot-pass a{
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}
.forgot-pass a:hover{
    text-decoration: underline;
}
.input-submit{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 55px;
    padding: 0 15px;
    margin: 10px 0;
    color: #fff;
    background: #21264D;
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: .3s;
}
.input-submit:hover{
    gap: 15px;   
}
.social-login{
    display: flex;
    gap: 20px;
    margin-top: 20px;
}
.social-login i{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: .2s;
}
.social-login i:hover{
    transform: scale(0.9);
}

@media (max-width: 892px){
    .form-container{
        width: 400px;
    }
    .col-1{
        display: none;
    }
    .col-2{
        width: 100%;
    }

}

.gender-box {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}
.gender-box label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.input-field::placeholder {
    color: white;
    opacity: 1; /* Ensure full visibility */
}


/* Scale down reCAPTCHA */
.rc-anchor {
    transform: scale(0.85); /* Adjust the scale (0.85 = 85% size) */
    transform-origin: center; /* Keeps it centered */
}

/* Optional: Adjust the parent container to fit */
.register_recaptcha {
    height: auto;
    display: flex;
    justify-content: center; /* Center it properly */
}



















